package domain;

import java.util.Date;

/**
 * @auther Buynow Zhao
 * @create 2018/1/2
 */
public class News {
	private Long id;
	private String title;
	private String author;
	private Date postDate;
	private String content;
	private Integer moduleId;

	public Long getId() {
		return id;
	}

	public News setId(Long id) {
		this.id = id;
		return this;
	}

	public String getTitle() {
		return title;
	}

	public News setTitle(String title) {
		this.title = title;
		return this;
	}

	public String getAuthor() {
		return author;
	}

	public News setAuthor(String author) {
		this.author = author;
		return this;
	}

	public Date getPostDate() {
		return postDate;
	}

	public News setPostDate(Date postDate) {
		this.postDate = postDate;
		return this;
	}

	public String getContent() {
		return content;
	}

	public News setContent(String content) {
		this.content = content;
		return this;
	}

	public Integer getModuleId() {
		return moduleId;
	}

	public News setModuleId(Integer moduleId) {
		this.moduleId = moduleId;
		return this;
	}
}
